﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace Demo.Data
{
    public class MatrixDataPage
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public long CurrentPage
        {
            get;
            set;
        }

        /// <summary>
        /// 总页数
        /// </summary>
        public long TotalPages
        {
            get;
            set;
        }

        /// <summary>
        /// 总数据行数
        /// </summary>
        public long TotalItems
        {
            get;
            set;
        }

        /// <summary>
        /// 每页数据量
        /// </summary>
        public long ItemsPerPage
        {
            get;
            set;
        }

        /// <summary>
        /// 当前页的数据
        /// </summary>
        public DataTable Data
        {
            get;
            set;
        }

        /// <summary>
        /// 用户自定义属性，可以为任何对象
        /// </summary>
        public object Context
        {
            get;
            set;
        }
    }
}

